#ng  dag version 
#now runing

filename=test-dag.log
dag_time=test-dag-time.log

rm $filename
rm $dag_time
touch $filename
touch $dag_time
make 
for p in 1 2 4 8 16 32 64
do
  for num in {1..5}
  do
    echo "dag runing, T=100 -Dthread_num=$p number=$num " 
    echo "dag runing, T=100 -Dthread_num=$p number=$num" >> $filename
    bsub -I -p -q q_sw_yyz -b -share_size 4096 -N 1 -cgsp 64  ./3d7p_stream $p 100 >>$filename
  done
done
grep -E 'dag runing|total_counts:' $filename>>$dag_time
